

#ifndef _SHELL_REQAYXLOGIN_MESSAGE_H_
#define _SHELL_REQAYXLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqAYXLoginMessage : public Message
{
	public:
	ReqAYXLoginMessage();
	~ReqAYXLoginMessage();
	void reset();
	ReqAYXLoginMessage* clone();
	static const int _ID;
	//登录授权码
	std::string code;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
